Snapcraft complains about "snapcraft.yaml~" in snap/ dir
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
When I'm developing a snap project and run snapcraft, I get the following warning message:
The snap/ directory is meant specifically for snapcraft, but it contains the following non-snapcraft-related paths, which is unsupported and will cause unexpected behavior:
- snapcraft.yaml~
If you must store these files within the snap/ directory, move them to snap/local/, which is ignored by snapcraft.
The check for non-snapcraft files is a good idea, but having it trigger for common cases like backup files from editors is just noise.
Worse, it could lead to people missing real problems if they start ignoring the message "because Snapcraft always prints that".
Evaluation history
No evaluation history available.